package com.xqianli.bigdata.flink.transform;

import org.apache.flink.client.program.StreamContextEnvironment;
import org.apache.flink.streaming.api.datastream.DataStream;
import org.apache.flink.streaming.api.environment.StreamExecutionEnvironment;

public class FlatMapApp {
    public static void main(String[] args) throws Exception {
        StreamExecutionEnvironment env = StreamContextEnvironment.getExecutionEnvironment();
        String inputPath = "data/json.txt";
        DataStream<String> dataStream = env.readTextFile(inputPath);

//        dataStream.map(item -> JSON.)

        env.execute();
    }

}
